# Title: Programa 35                                      Filename: Capiluto7-35
# Author: Lopez Valenzuela Marco A.                     Date: 27/05/17
# Description: 
# No pude resolver este programa, hice otro
# Input: -
# Output: -

.section	.data
vals:
	.long 6099, 2166
.section	.text

.globl _start

_start:
	ldr r2, =vals
	ldr r1, [r2]
	ldr r0, [r2,#4]

gcd:
	cmp r0,r1
	subgt r0,r0,r1
	sublt r1,r1,r0
	bne gcd

	mov r7, $1
	svc $0

.end
